import request from '@/utils/request'
import { getUserInfo } from '@/utils/auth';
import ajax from '@/utils/ajax';
export default {
    // 单文件上传
    uploadFile(data) {
        return ajax({
            url: '/common/uploadFile',
            method: 'post',
            data
        })
    },
    // 获取省市区
    getAreaList(data) {
        return ajax({
            url: '/common/getAreaList',
            method: 'get',
            data
        })
    },
    // 获取地区子集
    getAreaSonList(data) {
        return ajax({
            url: '/common/getAreaSonList',
            method: 'get',
            data
        })
    },
}


